package com.lanxin.kh.vo;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import java.time.LocalDateTime;

// 跟踪记录VO：聚合“客户跟踪记录”+“客户联系人”字段
public class KhContactrecordVO implements Serializable {
    private Integer oid;          // 跟踪记录ID
    private Integer favoriteid;   // 客户-产品关联ID
    private Integer empid;// 联系人ID（关联kh_customercontact表）
    @TableField(value = "contactDate")
    private LocalDateTime contactDate; // 联系时间
    private String reason;        // 事由
    private String result;        // 反馈情况

    @TableField(value = "empName")
    private String empName;       // 客户联系人姓名（新增关联字段）

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getFavoriteid() {
        return favoriteid;
    }

    public void setFavoriteid(Integer favoriteid) {
        this.favoriteid = favoriteid;
    }

    public Integer getEmpid() {
        return empid;
    }

    public void setEmpid(Integer empid) {
        this.empid = empid;
    }

    public LocalDateTime getContactDate() {
        return contactDate;
    }

    public void setContactDate(LocalDateTime contactDate) {
        this.contactDate = contactDate;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }
}